package fzrj.qkl.demo.service.backend;

import org.fisco.bcos.sdk.transaction.model.exception.ContractException;

import java.math.BigInteger;

public interface CarrierService {

    // 注册
    boolean addCarrier(String name, String info, String passwd);

    // 验证
    boolean checkCarrier(int id, String passwd) throws ContractException;

    // 查询自己所能操作的物流信息列表
    BigInteger[] getShipmentsByCarrier(int id) throws ContractException;


}
